//
//  HWGoldExChangeModel.m
//  嗨文
//
//  Created by 响当当 on 4/25/19.
//  Copyright © 2019 dongzheng. All rights reserved.
//

#import "HWGoldExChangeModel.h"

@implementation HWGoldExChangeModel
- (id)initWithDic:(NSDictionary *)dic
{
    if (self = [super init])
    {
        self.exchangeNote = [[NSString stringWithFormat:@"%@",dic[@"exchangeNote"]] isValidString] ? [NSString stringWithFormat:@"%@",dic[@"exchangeNote"]] :@"";
        self.exchangeTime = [[NSString stringWithFormat:@"%@",dic[@"exchangeTime"]] isValidString] ? [NSString stringWithFormat:@"%@",dic[@"exchangeTime"]] :@"";
        self.goldCoin = [[NSString stringWithFormat:@"%@",dic[@"goldCoin"]] isValidString] ? [NSString stringWithFormat:@"%@",dic[@"goldCoin"]] :@"";
    }
    return self;
}
@end
